package com.yjh.admin.entity.user;

import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.extension.activerecord.Model;
import lombok.Data;
import lombok.EqualsAndHashCode;
import io.swagger.annotations.ApiModelProperty;

/**
 * 用户角色表
 *
 * @author GuoBin
 * @date 2020-07-10 10:57:08
 */
@Data
@TableName("sys_user_role")
@EqualsAndHashCode(callSuper = true)
public class SysUserRole extends Model<SysUserRole> {
private static final long serialVersionUID = 1L;


    @TableId
    private Integer userRoleId;
    /**
   * 用户ID
   */
    @ApiModelProperty( value = "用户ID")
        private Integer userId;
      /**
   * 角色ID
   */
    @ApiModelProperty( value = "角色ID")
        private Integer roleId;
    
}
